package com.robcity.platform.common;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public final class Page<T> implements Serializable {
    private static final long serialVersionUID = 2276337890229615339L;
    private long total;
    private long pageSize = 20;
    private long current = 1;
    private List<T> data;
}
